Skip to content

build(deps): upgrade vitest to v5 - #39

Merged
bhouston merged 1 commit into
mainfrom
build/38-vitest-5
Sep 25, 2026
Merged

bhouston merged 1 commit into
mainfrom
build/38-vitest-5

Conversation

@bhouston

Copy link
Copy Markdown
Owner

Summary

Stage 2 of the v2 repo standard (vitest half — TypeScript is already ^7.0.2 at root with no per-package pins, so that part was already done).

  • vitest ^4.1.10 → ^5.0.2
  • @vitest/coverage-v8 4.1.11 → 5.0.2
  • @vitest/browser-playwright ^4.1.11 → ^5.0.2
  • @vitest/browser-webdriverio 4.1.11 → 5.0.0
  • pnpm-workspace.yaml: pnpm's minimumReleaseAge policy auto-added the newly-published @vitest/* packages to minimumReleaseAgeExclude in name@version form during pnpm install; trimmed those to package names only, matching the standard applied in chore: apply v2 tooling/CI/release standard (stage 1) #37

No source changes were needed — build, tsc, lint, and tests were unaffected by the major version bump.

vitest-environment-webgpu-node (peer dep vitest: >=3 <5) isn't referenced on main (only on the separate, not-yet-merged gpu-webgpu-node-tests branch), so it wasn't a blocker.

Validation (in worktree)

  • pnpm install — clean
  • pnpm build — pass
  • pnpm tsc — pass
  • pnpm lint — pass (pre-existing warnings only)
  • pnpm exec oxfmt --check . — pass
  • pnpm test — 18 test files / 61 tests passed on vitest 5.0.2
  • pnpm release:check — 9/9 passed
  • pnpm size — within budget
  • pnpm test:gpu (advisory, continue-on-error in CI) — ran under Playwright/Chromium+SwiftShare locally with the same pre-existing WebGPU "Device Lost" flakiness noted in vitest.config.ts's comments, unrelated to the vitest version bump

Closes #38

Bump vitest and the @vitest/* packages to ^5. TypeScript is already on
^7.0.2 at root (no per-package pins), so this is the vitest-only half of
stage 2. No source changes were needed; all suites (build, tsc, lint,
format, unit tests with coverage, release:check, bundle size) pass
unchanged. pnpm's minimumReleaseAge policy auto-added the newly
published @vitest/* packages to minimumReleaseAgeExclude; trimmed those
entries to package names (matching the standard) rather than the
name@version form pnpm generated.

vitest-environment-webgpu-node (peer dep vitest: >=3 <5) isn't used on
main, so it's not a blocker here.

Closes #38
@bhouston
bhouston merged commit 63fc080 into main Sep 25, 2026
3 of 4 checks passed
@bhouston
bhouston deleted the build/38-vitest-5 branch September 25, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build(deps): upgrade vitest to v5 (stage 2)

1 participant